package top.oauth2.sms.exception;

import top.oauth2.sms.enums.ResponseEnum;

/**
 * 短信发送异常
 * @author xphu
 * @version 1.0
 * @date 2021/9/16 11:39
 */
public class BaseException extends Exception{

    public BaseException(String message) {
        super(message);
    }

    public BaseException(ResponseEnum responseEnum) {
        super(responseEnum.message);
    }
}
